package com.xyz.messagehelper.ui.activity

import android.annotation.SuppressLint
import com.xyz.messagehelper.R
import com.xyz.messagehelper.utils.ActivityConctroler
import com.xyz.messagehelper.utils.Utils
import kotlinx.android.synthetic.main.activity_soft_info.*
import kotlinx.android.synthetic.main.layout_toolbar.*
import org.jetbrains.anko.startActivity
import java.lang.ref.WeakReference


@SuppressLint("SetTextI18n")
class SoftwareInfoActivity : BaseActivity() {

    override fun getLayoudResId() = R.layout.activity_soft_info

    override fun init() {
        super.init()
        ActivityConctroler.add(WeakReference(this))
        tvVersionName.text = "Version ${Utils.getVersionName(this)}"
        iv_back.setOnClickListener {
            startActivity<HomeActivity>()
        }
    }


}